﻿(function () {
    "use strict";

    var page = WinJS.UI.Pages.define("/html/adNotFilled.html", {
        ready: function (element, options) {

        },
        unload: function () {

        }
    });


})();

WinJS.Utilities.markSupportedForProcessing(
window.errorLogger = function (sender, evt) {
    //adEvents.innerHTML = (new Date()).toLocaleTimeString() + ": " + sender.element.id + " error: " + evt.errorMessage + " error code: " + evt.errorCode + "<br>" + adEvents.innerHTML;

    if (evt.errorCode == "NoAdAvailable") { MyAd_2.innerHTML = "Ad 2 not being displayed for the adUnit below, so any Developer Info can be displayed below" }
    //modify above line to display anything when the ad does'nt get filled

    console.log("errorhandler hit. \n");
});